/*
 * @Author: malgee
 * @Date: 2025-04-27 13:58:03
 * @LastEditors: maling
 * @LastEditTime: 2025-04-27 16:30:42
 * @FilePath: /vue3-ts-cms/src/views/main/system/user/config/content.config.ts
 * @Description: 
 * 
 */
export const pageTableConfig = {
  title: '用户列表',
  isShowIndexColumn: true,
  isShowSelectionColumn: true,
  columns: [
    {
      prop: 'id',
      label: 'id',
      minWidth: '100'
    },
    {
      prop: 'name',
      label: '用户名',
      minWidth: '100'
    },
    {
      prop: 'realname',
      label: '真实姓名',
      minWidth: '100'
    },
    {
      prop: 'cellphone',
      label: '电话号码',
      minWidth: '100'
    },
    {
      prop: 'status',
      label: '状态',
      minWidth: '100',
      slotName: 'status'
    },
    {
      prop: 'role',
      label: '角色',
      minWidth: '100',
      slotName: 'role'
    },
    {
      prop: 'department',
      label: '部门',
      minWidth: '100',
      slotName: 'department'
    },
    {
      prop: 'createAt',
      label: '创建时间',
      minWidth: '250',
      slotName: 'createAt'
    },
    {
      prop: 'updateAt',
      label: '更新时间',
      minWidth: '250',
      slotName: 'updateAt'
    },
    { label: '操作', minWidth: '120', slotName: 'handler' }
  ]
}
